﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HashTable
{
    class Data
    {
        int i;

        public Data(int i = 10)
        {
            this.i = i;
        }

        public override string ToString()
        {
            return i.ToString();
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            HT<string, Data> hash = new HT<string, Data>();
            for (int i = 0; i < 50; i++)
            {
                hash.Add(i.ToString(), new Data(i));
            }
            Console.WriteLine(hash.Print());
            Console.Read();
        }
    }
}
